
const app = {
  state: {
    messageNum: 0
  },
  mutations: {
    SET_MESSAGE: (state) => {
      state.messageNum++
    }
  },
  actions: {
    MessageN({ commit }) {
      commit('SET_MESSAGE')
    }
  }
}

export default app
